package com.smz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smz.entity.TCargo;


public interface TCargoService extends IService<TCargo> {
    /**
     * 按条件分页查询
     * @param current
     * @param rows
     * @param tShelvesNo
     * @param damId
     * @param wareId
     * @return
     */
    Page<TCargo> findPageTCargo(Integer current,Integer rows,Integer tShelvesNo,Integer damId,Integer wareId);

    /**
     * 搜索分页查询
     * @param current
     * @param rows
     * @return
     */
    Page<TCargo> findPageTCargoSearch(Integer current,Integer rows,Integer tShelvesNo,Integer cargoNo,Integer cargoState);
}
